package org.example.myleet.p1710;

import org.example.myleet.Utils.Assert;
import org.example.myleet.Utils.Parser;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(8 == solution.maximumUnits(Parser.parse("[[1,3],[2,2],[3,1]]"), 4));
        Assert.isTrue(91 == solution.maximumUnits(Parser.parse("[[5,10],[2,5],[4,7],[3,9]]"), 10));
    }
}
